package com.manager.user.module.entity;

import com.manager.commons.base.BaseEntity;

import java.util.List;

/**
 * GenOrganization
 * 组织架构
 *
 * @author manager
 * @version 1.0
 */
public class GenOrganization extends BaseEntity {

    private String parentId;//父级id
    private String code;//
    private String name;//名称
    private String level;//级别
    private String levelCode;//级别编码
    private String remark;//描述
    private int editOpen;
    private List<GenOrganization> children;

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentId() {
        return this.parentId;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLevel() {
        return this.level;
    }

    public void setLevelCode(String levelCode) {
        this.levelCode = levelCode;
    }

    public String getLevelCode() {
        return this.levelCode;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return this.remark;
    }

    public List<GenOrganization> getChildren() {
        return children;
    }

    public void setChildren(List<GenOrganization> children) {
        this.children = children;
    }

    public int getEditOpen() {
        return editOpen;
    }

    public void setEditOpen(int editOpen) {
        this.editOpen = editOpen;
    }
}
